using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;
using BySoft.Server.Common.Schema;

namespace BySoft.Server.Common.Entity
{
	[Serializable]
	public class BsBomdetailEntity : EntityBase
	{
		public BsBomdetailTable TableSchema
		{
			get
			{
				return (BsBomdetailTable)_tableSchema;
			}
		}

		public BsBomdetailEntity()
		{
			_tableSchema = BsBomdetailTable.Current;
		}

		#region 属性列表
		
		public Decimal? BOMDetailID
		{

			
			get{ return GetData<Decimal>(BsBomdetailTable.C_BOMDETAILID); }
			
			
			set{ SetData(BsBomdetailTable.C_BOMDETAILID, value); }
		}

		
		public String BOMID
		{

							
			get{ return Convert.ToString(GetData(BsBomdetailTable.C_BOMID));} 

			
			set{ SetData(BsBomdetailTable.C_BOMID, value); }
		}

		
		public Decimal? ChangeNum
		{

			
			get{ return GetData<Decimal>(BsBomdetailTable.C_CHANGENUM); }
			
			
			set{ SetData(BsBomdetailTable.C_CHANGENUM, value); }
		}

		
		public String ParentMaterialID
		{

							
			get{ return Convert.ToString(GetData(BsBomdetailTable.C_PARENTMATERIALID));} 

			
			set{ SetData(BsBomdetailTable.C_PARENTMATERIALID, value); }
		}

		
		public String IsDirect
		{

							
			get{ return Convert.ToString(GetData(BsBomdetailTable.C_ISDIRECT));} 

			
			set{ SetData(BsBomdetailTable.C_ISDIRECT, value); }
		}

		
		public String MaterialID
		{

							
			get{ return Convert.ToString(GetData(BsBomdetailTable.C_MATERIALID));} 

			
			set{ SetData(BsBomdetailTable.C_MATERIALID, value); }
		}

		
		public Decimal? MMNumber
		{

			
			get{ return GetData<Decimal>(BsBomdetailTable.C_MMNUMBER); }
			
			
			set{ SetData(BsBomdetailTable.C_MMNUMBER, value); }
		}

		
		public Decimal? SingleWeight
		{

			
			get{ return GetData<Decimal>(BsBomdetailTable.C_SINGLEWEIGHT); }
			
			
			set{ SetData(BsBomdetailTable.C_SINGLEWEIGHT, value); }
		}

		
		public Decimal? SingleNum
		{

			
			get{ return GetData<Decimal>(BsBomdetailTable.C_SINGLENUM); }
			
			
			set{ SetData(BsBomdetailTable.C_SINGLENUM, value); }
		}

		
		#endregion
	}
}

